Crate super_process

source ·
Expand description

An async process creation framework. More of a utility library.

  • TODO: fs doesn’t do much yet.
  • exe::Command covers all the configuration for a single process invocation.
  • base::CommandBase abstracts a process invocation which requires setup work.
  • sync and stream invoke processes “synchronously” or “asynchronously”.
  • sh wraps a shell script invocation.

Modules

  • Extend the concept of a “process” to include setup, to enable abstraction.
  • Representations of executable files and methods to invoke them as async processes.
  • Representations of filesystem locations on the local host.
  • Methods to execute a shell script as a process.
  • Methods to execute a process in an “asynchronous” or “streaming” fashion.
  • Methods to execute a process “synchronously”, i.e. waiting until it has exited.